<html>
<head>
<meta charset="UTF-8">
<title>资源定义详情</title>
<link id="easyuiTheme"  href="../../static/easyui/themes/bootstrap/easyui.css" rel="stylesheet" type="text/css"/>
<link href="../../static/easyui/themes/icon.css" rel="stylesheet" type="text/css"/>
<link href="../../static/css/esaas-easyui-view.css" rel="stylesheet" type="text/css"/>
<script src="../../static/easyui/jquery.min.js" type="text/javascript"></script>
	<script src="../../static/easyui/jquery.cookie.js" type="text/javascript"></script>
	<script src="../../static/easyui/ui-theme.js" type="text/javascript"></script>
<script src="../../static/easyui/jquery.easyui.min.js" type="text/javascript" charset="utf-8"></script>
<script src="../../static/easyui/locale/easyui-lang-zh_CN.js" type="text/javascript"></script>
<script src="../../static/plugin/assets/jslib.util.js" type="text/javascript"></script>
<script src="../../static/plugin/assets/jslib.jquery.ajax.js" type="text/javascript"></script>
<script src="../../static/plugin/assets/jslib.easyui.util.js" type="text/javascript"></script>
<script src="../../ffres/dict/all.js" type="text/javascript"></script>
<a href="" target="_blank" id="commonLink" name="commonLink"></a>
</head>
<body class="easyui-layout">

	    <form id="ff" method="post">
	    	<div class="esaas-info-title">资源定义信息</div>
	    	<table class="esaas-info-view-table">
			<tr>
				<td width="15%" align="right">资源ID：</td>
				<td width="35%"><input class="easyui-textbox" type="text" disabled
					name="resourceid" data-options="required:true"
					style="width: 100%; height: 25px;"></input></td>
				<td width="15%" align="right">选项名称：</td>
				<td width="35%"><input class="easyui-textbox" type="text" disabled
					name="cnname" data-options="required:false"
					style="width: 100%; height: 25px;"></input></td>
			</tr>
			<tr>
				<td width="15%" align="right">所属子系统：</td>
				<td width="35%"><input class="easyui-textbox" type="text" disabled
					name="systempk" data-options="required:false"
					style="width: 100%; height: 25px;"></input></td>
				<td width="15%" align="right">资源URL：</td>
				<td width="35%"><input class="easyui-textbox" type="text" disabled
					name="url" data-options="required:false"
					style="width: 100%; height: 25px;"></input></td>
			</tr>
			<tr>
				<td width="15%" align="right">上级资源ID：</td>
				<td width="35%"><input class="easyui-textbox" type="text" disabled
					name="parentid" data-options="required:false"
					style="width: 100%; height: 25px;"></input></td>
				<td width="15%" align="right">表名：</td>
				<td width="35%"><input class="easyui-textbox" type="text" disabled
					name="tablename" data-options="required:false"
					style="width: 100%; height: 25px;"></input></td>
			</tr>
			<tr>
				<td width="15%" align="right">流程模板：</td>
				<td width="35%"><input class="easyui-textbox" type="text" disabled
					name="procid" data-options="required:false"
					style="width: 100%; height: 25px;"></input></td>
				<td width="15%" align="right">序号：</td>
				<td width="35%"><input class="easyui-textbox" type="text" disabled
					name="orderid" data-options="required:false"
					style="width: 100%; height: 25px;"></input></td>
			</tr>
			<tr>
				<td width="15%" align="right">备注：</td>
				<td width="35%"><input class="easyui-textbox" type="text" disabled
					name="memo" data-options="required:false"
					style="width: 100%; height: 25px;"></input></td>
				<td width="15%" align="right">资源图标：</td>
				<td width="35%"><input class="easyui-textbox" type="text" disabled
					name="icon" data-options="required:false"
					style="width: 100%; height: 25px;"></input></td>
			</tr>
			<tr>
				<td width="15%" align="right">机构号：</td>
				<td width="35%"><input class="easyui-textbox" type="text" disabled
					name="orgid" data-options="required:false"
					style="width: 100%; height: 25px;"></input></td>
			</tr>
	    	</table>
	    </form>
		<div style="text-align:center;padding:15px">
			<a href="javascript:void(0)" class="easyui-linkbutton" iconCls="icon-cancel" onclick="closeForm()">&nbsp;关&nbsp;闭&nbsp;</a>
		</div>
	</div>
	<script>	
		$(function() {
            addTitle("查看");

            var resourceid = $.getUrlParam('resourceid');
			$.restfulGet('../../api/s/resource/' + resourceid,null,function(data){
					$('#ff').form('load', {
						resourceid : data.rows.resourceid,
						cnname : data.rows.cnname,
						systempk : data.rows.systempk,
						url : data.rows.url,
						parentid : data.rows.parentid,
						tablename : data.rows.tablename,
						procid : data.rows.procid,
						orderid : data.rows.orderid,
						memo : data.rows.memo,
						icon : data.rows.icon,
						orgid : data.rows.orgid
					});					
			});
		});
		function closeForm(){
			window.parent.JLEUtil.closewin();
		}
	</script>
</body>
</html>
